using Dew.Math;
using Dew.Math.Units;
namespace Dew.Examples()
{
void Example()
{
TVec a;
MtxVec.CreateIt(
out a);
try
{
a.SetIt(
true,
new double[] {1,2,3,4});
a.LogN(10.0);
// log base 10, the slow way a = [Log10(1), Log10(2),...]
}
finally
{
MtxVec.FreeIt(
ref a);
}
}
}